package signleton;

public class LazySafe {

    private LazySafe sington;

    private LazySafe() {
    }

    

    public synchronized LazySafe getBean(){
        if (sington == null) {
            sington = new LazySafe();
        }
        return sington;
    }
}
